<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Bootstrap Template</title>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" type="text/css" href="../bootstrap3/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="../bootstrap3/font-awesome-4.7.0/css/font-awesome.css"/>
<style type="text/css">
@media (max-width: 768px) { 
    body{
      background-color: red;       
    }
    h1{
      color: green;
    }
    img{
      width: 200px;
    }
 }
@media (min-width: 768px) and (max-width: 992px) {
 body{
      background-color: yellow;
    }
     h1{
      color: blue;
    }
    img{
      width: 400px;
    }
 }
@media (min-width: 992px) and (max-width: 1200px) { 
 body{
      background-color: blue;
    }
     h1{
      color: yellow;
    }
    img{
      width: 800px;
    }
 }
@media (min-width: 1200px) { 
   body{
      background-color: green;
    }
     h1{
      color: red;
    }
    img{
      width: 1600px;
    }
 }
</style>
</head>
<body>
  <!-- 字体颜色  绿  蓝  黄  红 -->
   <h1>响应式布局测试</h1>
   <!-- 图片宽度：200px    400px   800px   1600px -->
   <img src="../imgs/1.jpg">
</body>
<script type="text/javascript" src="../bootstrap3/jquery.min.js"></script>
<script type="text/javascript" src="../bootstrap3/js/bootstrap.js"></script>
<script type="text/javascript" src="../bootstrap3/js/holder.js"></script>
<script type="text/javascript" src="../bootstrap3/js/html5shiv.min.js"></script>
<script type="text/javascript" src="../bootstrap3/js/css3-mediaqueries.js"></script>
<script type="text/javascript" src="../bootstrap3/js/respond.min.js"></script>
</html>